//
//  CTMediator+BModule.m
//  MainProject
//
//  Created by 神州锐达 on 2018/1/17.
//  Copyright © 2018年 onePiece. All rights reserved.
//

#import "CTMediator+BModule.h"
NSString *const kCTMediatorTargetBModule = @"BModule";
NSString *const kCTMediatorActionBModuleViewController = @"BModuleViewController";

@implementation CTMediator (BModule)

-(UIViewController *)BModule_aViewControllerWithCallBack:(void (^)(NSString *))callBack{
    
    NSMutableDictionary *params = [[NSMutableDictionary alloc] init];
    params[@"name"] = @"B模块";
    
    if (callBack) {
        callBack(@"B模块");
    }
    
    return [self performTarget:kCTMediatorTargetBModule action:kCTMediatorActionBModuleViewController params:params shouldCacheTarget:NO];
    
}

@end
